package ru.ng.sample.core.notes;

/**
 * User: NGorosh
 * Date: 20.05.11
 * Time: 14:18
 */
public class Note
{
    private Integer id;
    private String name;
    private String text;

    public Note()
    {
    }

    public Note( Integer id, String name, String text )
    {
        this.id = id;
        this.name = name;
        this.text = text;
    }

    public Integer getId()
    {
        return id;
    }

    public void setId( Integer id )
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName( String name )
    {
        this.name = name;
    }

    public String getText()
    {
        return text;
    }

    public void setText( String text )
    {
        this.text = text;
    }

    @Override
    public String toString()
    {
        return "Note{" + "id=" + id + ", name='" + name + '\'' + ", text='" + text + '\'' + '}';
    }
}
